@extends('layouts.master')

@section('content')
{{ HTML::style('css/center.css')}} 
{{ HTML::script('js/center/center.js') }}
{{ HTML::script('js/tokenAnalysis.js') }}

<!-- 用户-用户中心 -->
<div class="userInfo">
	<div class="w">
		<div class="container">
	    	<div id="content">
	    		<div id="sub"> 
				    <!--左侧导航栏-->
				    <div id="menu">
				    	<dl class="fore1">
					        <dt id="">
					            <img class="auth-userImg" src="{{ Config::get('app.url') }}/img/dfimg.png" width="100" height="100" style="border-radius: 50%;"> 
					            <p>{{ Auth::user()->nikname }}</p>
					        </dt>
					        <dd class="fore1_5 @if (Route::is('center.customer.my_question')) curr @endif">
					            <a class="navIcon1" href="{{ route('center.customer.my_question') }}" target="_self">
					                免费咨询
					            </a>
					        </dd>
					        <dd class="fore1_5 @if (Route::is('center.customer.my_order')) curr @endif">
					            <a class="navIcon2" href="{{ route('center.customer.my_order') }}" target="_self">
					                我的订单
					            </a>
					        </dd>
					        <dd class="fore1_5 @if (Route::is('center.customer.commodity')||Route::is('center.customer.question_order.to_pay')) curr @endif">
					            <a class="navIcon3" href="{{ route('center.customer.commodity') }}" target="_self">
					                我的商品
					            </a>
					        </dd>
					        <dd class="fore1_4  @if (Route::is('center.customer.wallet')) curr @endif">
					            <a class="navIcon4" href="{{ route('center.customer.wallet') }}" target="_self">
					                我的钱包
					            </a>
					        </dd>
					        <dd class="fore1_5 @if (Route::is('center.customer.lawyer_follow')) curr @endif">
					            <a class="navIcon5" href="{{ route('center.customer.lawyer_follow') }}" target="_self">
					                我的关注
					            </a>
					        </dd>
					        <dd class="fore6_1 @if (Route::is('center.collect')) curr @endif">
					            <a class="navIcon6" href="{{route('center.collect')}}" target="_self">
					                我的收藏
					            </a>
					        </dd>
					        <dd class="fore1_1 @if (Route::is('center.customer.info')) curr @endif">
					            <a class="navIcon7" href="{{ route('center.customer.info') }}" target="_self">
					                我的资料
					            </a>
					        </dd>
					    	@if (Auth::user()->isPendingVerification())
					        <dd class="fore1_3 isPending">
					            <a class="navIcon8" href="javascript:void(0)" target="_self">
					                认证律师
					            </a>
					        </dd>
					        @else
					        <dd class="fore1_3 @if (Route::is('center.customer.become_lawyer')) curr @endif">
					            <a class="navIcon8" href="{{ route('center.customer.become_lawyer') }}" target="_self">
					                认证律师
					            </a>
					        </dd>
					   		@endif 
					   		<dd class="fore1_2 @if (Route::is('center.reset_pass')) curr @endif">
					            <a class="navIcon9" href="{{ route('center.reset_pass') }}" target="_self">
					                修改密码
					            </a>
					        </dd>
					        <!-- <dd class="fore1_4 buto">
					            <a class="click_nav" href="##" target="_self">咨询订单<i class="icon_jt"></i></a>
					        </dd>
					        <dd class="fore1_nav @if (Route::is('center.customer.question_order.free_question')||Route::is('center.customer.question_order.pay_text')||Route::is('center.customer.question_order.pay_phone')||Route::is('center.customer.question_order.pay_company')) curr01 @endif">
				            	<a class="@if (Route::is('center.customer.question_order.free_question')) curr01 @endif" href="{{ route('center.customer.question_order.free_question') }}" target="_self">免费咨询</a>
				            	<a class="@if (Route::is('center.customer.question_order.pay_text')) curr01 @endif" href="{{ route('center.customer.question_order.pay_text') }}" target="_self">图文咨询</a>
				            	<a class="@if (Route::is('center.customer.question_order.pay_phone')) curr01 @endif" href="{{ route('center.customer.question_order.pay_phone') }}" target="_self">电话咨询</a>
				            	<a class="@if (Route::is('center.customer.question_order.pay_company')) curr01 @endif" href="{{ route('center.customer.question_order.pay_company') }}" target="_self">法律顾问</a>
				            </dd>
					        <dd class="fore1_5 @if (Route::is('center.customer.score')) curr @endif">
					            <a href="{{ route('center.customer.score') }}" target="_self">
					                我的积分
					            </a>
					        </dd>
					        <dd class="fore1_6 @if (Route::is('center.blog.replies')) curr @endif">
					            <a href="{{route('center.blog.replies')}}" target="_self">
					                我的评论
					            </a>
					        </dd> -->
					    </dl>
					</div>
				</div>
      			@yield('subcontent')
	    	</div>
		</div>
	</div>
</div>
@stop